package com.tang.mapper;

import com.tang.dto.BookSnapshotDTO;
import com.tang.vo.BookSnapshot;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author tang
* @description 针对表【ebook_snapshot(电子书快照表)】的数据库操作Mapper
* @createDate 2023-05-05 14:00:38
* @Entity com.tang.vo.BookSnapshot
*/
@Mapper
public interface BookSnapshotMapper extends BaseMapper<BookSnapshot> {
    public int add();
    public int updateCount();
    public int updateIncrease();
    public List<BookSnapshotDTO> listYesterday();
    public List<BookSnapshotDTO> getStatistic();
    public List<BookSnapshotDTO> get30Statistic();
}




